29. Lesson Conclusion

Lesson Conclusion

ND079 JPND C3 L2 A24 Lesson Conclusion V3

Glossary

Attribute: A way to represent a nested XML element inside the definition of the enclosing tag.

Automatic Properties: Properties automatically populated by Maven, including Environment Variables, POM Elements, Settings.xml values, and Java System Properties.

Dependency: External Java source, often a JAR, that is not part of your program and not part of the Java standard library.

Element: The combination of a pair of XML tags with its enclosed data. The above example represents a person element.

Extensible: Able to define modifications to its own syntax. XML is extensible because you can define new XML tags using XML.

Goal: An action Maven should perform. The implementation of each goal is performed by a plugin.

Lifecycle: An ordered list of phases that Maven associates with creating a particular type of package.

Phase: A step in the Maven build process. Each phase is part of a lifecycle and contains many goals.

Pom.xml: The Project Object Model that defines a Maven project. Contains the required elements:

  • modelVersion: The format of the current pom. Should always be 4.0.0 at this time.
  • groupId: The group identifier for your project. Can be shared with other projects.
  • artifactId: The specific identifier for this project. Combination of artifactId and groupId uniquely identifies your project.
  • version: An arbitrary additional identifier indicating which version of your artifact you're on. By incrementing this, you can use can use Maven to keep track of different versions of your project.

Plugin: A program defining one or more goals that Maven can perform.

Properties: Variables that can be used to pass values around your Maven pom.

Scope: Specifies when Maven should include the provided dependency.

Standard Directory Layout: The default file structure used by Maven.

Super Pom: The Pom from which all Maven poms inherit from by default.

Tag: The name of an XML element enclosed in angle brackets. <person> is a person tag.

Transitive Dependency: A dependency of one of your project's dependencies.

Well-formed: Well-formed XML has only a single element at the top level. All open tags have a close tag, and all tags close before the tag that encloses them.

XML: Stands for eXtensible Markup Language. A markup language used to define object data.